package org.example.week10;

public class User {
    private int id;
    private String name;
    private int pwd;
    private int priv;

    // 构造函数、getter 和 setter 方法
    public User(int id, String name, int pwd, int priv) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
        this.priv = priv;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPwd() {
        return pwd;
    }

    public void setPwd(int pwd) {
        this.pwd = pwd;
    }

    public int getPriv() {
        return priv;
    }

    public void setPriv(int priv) {
        this.priv = priv;
    }
}